﻿namespace SilverBox.Logging.Listeners
{
    public class ObjectLoggerListener : ILoggerListener
    {
        #region Implementation of ILoggerListener

        public ConditionDelegate Condition
        {
            get { return obj => true; }
        }

        public string GetString(object entry)
        {
            return entry.ToString();
        }

        #endregion
    }
}